package com.community.service.impl;

import com.community.domain.enity.User;
import com.community.domain.enity.UserVo;
import com.community.mapper.UserMapper;
import com.community.result.Result;
import com.community.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 类名称： UserServiceImpl
 * 描述：
 * 创建人：zyj
 * 创建时间：2023/11/7 14:13
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    UserMapper userMapper;

    @Override
    public UserVo userLoginByPassword(UserVo userVo) {
        UserVo user = userMapper.userLoginByPassword(userVo);
        return user;
    }
}
